package com.wlsk.license.dto.response.feign;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class MerchantResultDto {

    private Long id;

    private String name;

    private String creditCode;

    private String merchantCode;

    private String cooperateCode;

    private Integer status;

    private String legalName;

    private String bizScope;

    private String contact;

    private String contactMobile;

    private Long parentOrgId;

    private String account;

    private String accountName;

    private Integer entryFlowType;

    private String createBy;

    private Integer syncSign;

    private int pageSize;

    private int startPage;

    private Long categoryType;

    private Long orgId;

    private String businessCode;

    private List<MerchantBizVo> bizIds;

    private List<CarCharterConfigVo> carCharterConfigs;

    @Data
    public static class MerchantBizVo {

        private Long id;

        @ApiModelProperty("类别 1-企业会员 2-供应商 3-分销商")
        private Integer categoryType;

        private Long bizId;

        private String bizName;
    }

    @Data
    public static class CarCharterConfigVo {
         private Long id;
         private String tel;
         private String licenseAndPlate;
    }
}
